package threadTest.CASTest;

import java.util.concurrent.atomic.AtomicLong;

/**
 * 功能描述:castest02
 * 2024/08/28
 *
 * @author ZhangYi
 */
public class CAStest02 {
	public static void main(String[] args) {
		AtomicLong count=new AtomicLong(0L);

		long l = count.addAndGet(1);
		System.out.println(l);
	}
}
